package com.bitdf.txing.product.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.bitdf.txing.product.dao.SpuInfoDescDao;
import com.bitdf.txing.product.entity.SpuInfoDescEntity;
import com.bitdf.txing.product.service.SpuInfoDescService;
import org.springframework.stereotype.Service;


@Service("spuInfoDescService")
public class SpuInfoDescServiceImpl extends ServiceImpl<SpuInfoDescDao, SpuInfoDescEntity> implements SpuInfoDescService {

//    @Override
//    public PageUtils queryPage(Map<String, Object> params) {
//        IPage<SpuInfoDescEntity> page = this.page(
//                new Query<SpuInfoDescEntity>().getPage(params),
//                new QueryWrapper<SpuInfoDescEntity>()
//        );
//
//        return new PageUtils(page);
//    }

    @Override
    public void saveSpuInfoDesc(SpuInfoDescEntity spuInfoDescEntity) {
        this.baseMapper.insert(spuInfoDescEntity);
    }

}